namespace NHibernateMappingSample.Entities
{
	// data object class Addres generated from Address
	// shvadskd [2008-10-20] Created

	using System;

	public  class Address 
	{

		#region Property_Names

		public static string Prop_AddressID = "AddressID";
		public static string Prop_AddressLine1 = "AddressLine1";
		public static string Prop_AddressLine2 = "AddressLine2";
		public static string Prop_City = "City";
		public static string Prop_StateProvince = "StateProvince";
		public static string Prop_CountryRegion = "CountryRegion";
		public static string Prop_PostalCode = "PostalCode";
		public static string Prop_rowguid = "rowguid";
		public static string Prop_ModifiedDate = "ModifiedDate";

		#endregion

		#region Constructors

		public Address()
		{
		}

		public Address(
			int p_addressid,
			string p_addressLine1,
			string p_addressLine2,
			string p_city,
			string p_stateProvince,
			string p_countryRegion,
			string p_postalCode,
			byte[] p_rowguid,
			DateTime p_modifiedDate)
		{
			AddressID = p_addressid;
			AddressLine1 = p_addressLine1;
			AddressLine2 = p_addressLine2;
			City = p_city;
			StateProvince = p_stateProvince;
			CountryRegion = p_countryRegion;
			PostalCode = p_postalCode;
			rowguid = p_rowguid;
			ModifiedDate = p_modifiedDate;
		}

		#endregion

		#region Properties

		public virtual int AddressID
		{
			get; set;
		}
		public virtual string AddressLine1
		{
			get; set;
		}
		public virtual string AddressLine2
		{
			get; set;
		}
		public virtual string City
		{
			get; set;
		}
		public virtual string StateProvince
		{
			get; set;
		}
		public virtual string CountryRegion
		{
			get; set;
		}
		public virtual string PostalCode
		{
			get; set;
		}
		public virtual byte[] rowguid
		{
			get; set;
		}
		public virtual DateTime ModifiedDate
		{
			get; set;
		}
		#endregion
	} // Addres
}

